package oop.bean;

/**
 * Created with IntelliJ IDEA.
 * ClassName: UserTest
 * Package: oop.bean
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-20
 * Time: 16:42
 */

public class UserTest {

    public static void main(String[] args) {
        User u1 = new User();
        System.out.println(u1.age);
    }

}


class User {
    String name;
    int age = 1;

    public User(){}

    public User(int a){
        age = a;
    }

}
